<?php
include_once("../../service/productService.php");

$code = $_POST["code"];
if(isUniqueCode($code) == "0") echo "1";
else echo "0";

?>